//package com.lt.test.consumer.controller;
//
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//@Controller
//@RequestMapping("/activiti/")
//public class KtActivitiLeaveController {
////    private static final Logger log = LoggerFactory.getLogger(KtActivitiLeaveController.class);
////
////    @Reference(version = "1.0.0")
////    private KtActivitiLeaveService ktActivitiLeaveService;
////
////    /**
////     * 获取流程
////     * @param request
////     * @param response
////     * @return
////     */
////    @RequestMapping("getActivitiLeave")
////    public @ResponseBody
////    ResponseDTO getActivitiLeave(HttpServletRequest request, HttpServletResponse response) {
////        ResponseDTO responseDTO = new ResponseDTO();
////        Map<String,String> parameter = WebUtils.getAllParamMap(request);
////        try {
////            Subject subject = SecurityUtils.getSubject();
////            ActiveUser activeUser = (ActiveUser) subject.getPrincipal();
////            List<Map<String, Object>> list = ktActivitiLeaveService.query(parameter);
////            responseDTO.setCode("200");
////            responseDTO.setSuccess(true);
////            responseDTO.setData(list);
////            responseDTO.setMessage("获取成功");
////        } catch (Exception e) {
////            e.printStackTrace();
////            responseDTO.setCode("500");
////            responseDTO.setMessage("服务器异常");
////        }
////        return responseDTO;
////    }
//}
